﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UIWindows.Attributes;

namespace UIWindows.Models.ParameterModels
{
    public class DecideParameterModel : INotifyPropertyChanged
    {
        /// <summary>
        /// 启用MES
        /// </summary>
        [Description("MES")] [UIMark("MES")]
        public bool EnableMES { get; set; }

        ///// <summary>
        ///// 启用复投模式
        ///// </summary>
        //[Description("复投模式")]
        ////[UIMark("复投模式")]
        //public bool EnableReinvestmentMode { get; set; }

        /// <summary>
        /// 启用变量注液
        /// </summary>
        //[Description("变量注液")]
        //[UIMark("变量注液")]
        public bool EnableVariableInjection { get; set; }

        /// <summary>
        /// 启用注液前称重范围检查
        /// </summary>
        //[Description("前称重范围")]
        //[UIMark("前称重范围")]
        public bool EnableBeforeInjection { get; set; }

        /// <summary>
        /// 启用注液后称重范围检查
        /// </summary>
        //[Description("后称重范围")]
        //[UIMark("后称重范围")]
        public bool EnableAfterInjection { get; set; }

        /// <summary>
        /// 启用注液范围检测
        /// </summary>
        //[Description("注液量范围")]
        //[UIMark("注液量范围")]
        public bool EnableLiquidInjectionRange { get; set; }
        /// <summary>
        /// 启用进站防呆接口
        /// </summary>
        //[Description("启用进站防呆")]
        //[UIMark("启用进站防呆")]
        public bool EnablePreventionCheck { get; set; } = true;

        /// <summary>
        /// 启用扫码获取工单
        /// </summary>
        //[Description("扫码获取工单")]
        //[UIMark("扫码获取工单")]
        public bool EnableWorkOrderCheck { get; set; } = true;
        /// <summary>
        /// 启用空跑
        /// </summary>
        //[Description("空跑")]
        //[UIMark("空跑")]
        public bool EnableEmptyRun { get; set; }
        /// <summary>
        /// 启用虚拟码
        /// </summary>
        //[Description("虚拟码")]
        //[UIMark("虚拟码")]
        public bool EnablePseudoCode { get; set; }

        public event PropertyChangedEventHandler PropertyChanged;
    }
}
